package com.hp.ssm.service;

import com.hp.ssm.entity.Hospital;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HospitalService {

    List<Hospital> findAll(Hospital hospital,@Param("page")Integer page,@Param("limit") Integer limit);
    List<Hospital> deletefindAll(Hospital hospital,@Param("page")Integer page,@Param("limit") Integer limit);
    Hospital findById(Integer hid);
    int recover(Hospital hospital);
    int update(Hospital hospital);
    int add(Hospital hospital);
    int delete(Integer hid);
}
